import turtle
t=turtle.Turtle()
a=int(input())
x=int(input())
y=int(input())
if x <250 and x>-250 and y > -250 and y<250:
   t.penup()
   t.goto(x,y)
   t.pendown()
   t.forward(150*a)
   t.left(90)
   t.forward(100*a)
   t.left(90)
   t.forward(50*a)
   t.left(90)
   t.forward(50*a)
   t.right(90)
   t.forward(50*a)
   t.right(90)
   t.forward(50*a)
   t.left(90)
   t.forward(50*a)
   t.left(90)
   t.forward(100*a)
   t.left(90)
else:
    print("Ошибка")


